<html>
 <head>
  <link href="./leetcode-problem.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <div class="question_difficulty">
   难度：Easy
  </div>
  <div>
   <h1 class="question_title">
    620. Not Boring Movies
   </h1>
   X city opened a new cinema, many people would like to go to this cinema. The cinema also gives out a poster indicating the movies&rsquo; ratings and descriptions.
   <p>
    Please write a SQL query to output movies with an odd numbered ID and a description that is not 'boring'. Order the result by rating.
   </p>
   <p>
    &nbsp;
   </p>
   <p>
    For example, table
    <code>
     cinema
    </code>
    :
   </p>
   <pre>
+---------+-----------+--------------+-----------+
|   id    | movie     |  description |  rating   |
+---------+-----------+--------------+-----------+
|   1     | War       |   great 3D   |   8.9     |
|   2     | Science   |   fiction    |   8.5     |
|   3     | irish     |   boring     |   6.2     |
|   4     | Ice song  |   Fantacy    |   8.6     |
|   5     | House card|   Interesting|   9.1     |
+---------+-----------+--------------+-----------+
</pre>
   For the example above, the output should be:
   <pre>
+---------+-----------+--------------+-----------+
|   id    | movie     |  description |  rating   |
+---------+-----------+--------------+-----------+
|   5     | House card|   Interesting|   9.1     |
|   1     | War       |   great 3D   |   8.9     |
+---------+-----------+--------------+-----------+
</pre>
   <p>
    &nbsp;
   </p>
  </div>
  <div>
   <h1 class="question_title">
    620. 有趣的电影
   </h1>
   <p>
    某城市开了一家新的电影院，吸引了很多人过来看电影。该电影院特别注意用户体验，专门有个 LED显示板做电影推荐，上面公布着影评和相关电影描述。
   </p>
   <p>
    作为该电影院的信息部主管，您需要编写一个 SQL查询，找出所有影片描述为
    <strong>
     非
    </strong>
    &nbsp;
    <code>
     boring
    </code>
    &nbsp;(不无聊)&nbsp;的并且
    <strong>
     id 为奇数&nbsp;
    </strong>
    的影片，结果请按等级
    <code>
     rating
    </code>
    排列。
   </p>
   <p>
    &nbsp;
   </p>
   <p>
    例如，下表
    <code>
     cinema
    </code>
    :
   </p>
   <pre>
+---------+-----------+--------------+-----------+
|   id    | movie     |  description |  rating   |
+---------+-----------+--------------+-----------+
|   1     | War       |   great 3D   |   8.9     |
|   2     | Science   |   fiction    |   8.5     |
|   3     | irish     |   boring     |   6.2     |
|   4     | Ice song  |   Fantacy    |   8.6     |
|   5     | House card|   Interesting|   9.1     |
+---------+-----------+--------------+-----------+
</pre>
   <p>
    对于上面的例子，则正确的输出是为：
   </p>
   <pre>
+---------+-----------+--------------+-----------+
|   id    | movie     |  description |  rating   |
+---------+-----------+--------------+-----------+
|   5     | House card|   Interesting|   9.1     |
|   1     | War       |   great 3D   |   8.9     |
+---------+-----------+--------------+-----------+
</pre>
   <p>
    &nbsp;
   </p>
  </div>
 </body>
</html>